﻿
        <!-- /. NAV SIDE  -->
        <div id="page-wrapper">
            <div id="page-inner">
                <div class="panel panel-default">
                        <div class="panel-heading">
                          角色列表
                        </div>
                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover">
                                 <thead>
                                    
                                        <tr>
                                            <th></th>
                                            <th>id</th>
                                            <th>角色名称</th>
                                            <th>权限列表</th>
                                            <th>pid</th>
                                            <th>状态</th>
                                            <th>操作</th>
                                        </tr>
                                  
                                   </thead>
                                   
                                    <tbody>
                                  
                                    <?php foreach($data as $v){?> 

                                    
                                        <tr class="cchange " level="1" pid="<?php echo $v['pid']?>">
                                          <th><input type="checkbox" value="1" name="
                                                power[]" class="fuji"></th>
                                         
                                         
                                          <th><?php echo $v['id']?></th>
                                          <th><?php echo $v['name']?></th>
                                          <th><?php echo $v['pid']?></th>

                                       
                                          <th><a href="index.php?c=power&a=adxit&admin=1&id=<?php echo $v['id'];?>" class="btn btn-info">
                                               <i class="fa fa-pencil-square-o"></i>
                                               编辑</a> 
                                               <a href="index.php?c=power&a=del&admin=1&id=<?php echo $v['id'];?>""
                                               onclick="return confirm('确定要删除？')" class="btn btn-danger lac ">
                                               <i class="fa fa-trash-o"></i>
                                               删除</a>      
                                            </th>
                                        </tr>
                                  
                                   
                                    <?php }?>
                                    </tbody>
                                </table>
                                
                            <hr />
                          
                            </div>
                        </div>
                    </div>

            </div>
            <!-- /. PAGE INNER  -->
        </div>
        <!-- /. PAGE WRAPPER  -->
    </div>
    <!-- /. WRAPPER  -->
<script src="resources/assets/js/jquery-1.10.2.js"></script>
<script type="text/javascript">




</script>
  